﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xtensive.Storage;

namespace SMS.Core.Model.Data
{
    class Motorcycle : Entity
    {
        [Key, Field(Length = 50)]
        public string model { get; set; }

        [Field]
        public EntitySet<Motorcycle_part> motorcycle_parts { get; set; }

        [Field]
        public int year { get; set; }

        [Field(Length = 50)]
        public string make { get; set; }

        [Field(Length = 50)]
        public string type { get; set; }
    }
}
